I tried with the below code, but even if I run the dxl in project it enters folder option: |
Re: Identify whether dxl is run for folder or project
Hi, Folder f = current print type(f)
|
Re: Identify whether dxl is run for folder or project I modified my code as below: if( (!null (current Folder)) && ("Folder" == type(current Folder)) ) { print "Dxl run in folder" } else if( (!null (current Project)) && ("Project" == type(current Folder)) ) { print "Dxl run in project" } |
Re: Identify whether dxl is run for folder or project DXLScripter - Fri Sep 21 04:25:39 EDT 2012 Or
Folder f = current
if (f != null) {
}
|
Re: Identify whether dxl is run for folder or project adevicq - Fri Sep 21 04:33:11 EDT 2012 Or
Folder f = current
if (f != null) {
}
Or
Folder f = current
if (f != null) {
if (type(f) == "folder") {
...
}
else if (type(f) == "Project) {
..
}
}
|